<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header"><?php echo __('Add value to config search') ?></h1>
        </div>
        <?php
        echo $this->Form->create('ConfigSearch', array(
            'inputDefaults' => array(
                'wrapInput' => false,
                'class' => 'form-control',
                'method' => 'post'
            )
        ));
        ?> 
        <div class="col-lg-12">
            <div class="row">

                <?php
                echo $this->Form->input('ConfigSearch.key', array(
                    'label' => __('Type '),
                    'type' => 'select',
                    'options' => $listKey,
                    'div' => 'form-group',
                ));
                ?>
                <?php
                echo $this->Form->input('ConfigSearch.label_from', array(
                    'label' => __('label of value from'),
                    'type' => 'text',
                    'div' => 'form-group',
                ));
                ?>
                <?php
                echo $this->Form->input('ConfigSearch.from', array(
                    'label' => __('value of from'),
                    'type' => 'text',
                    'div' => 'form-group',
                ));
                ?>
                <?php
                echo $this->Form->input('ConfigSearch.label_to', array(
                    'label' => __('label of value to'),
                    'type' => 'text',
                    'div' => 'form-group',
                ));
                ?>
                
                <?php
                echo $this->Form->input('ConfigSearch.to', array(
                    'label' => __('value of to'),
                    'type' => 'text',
                    'div' => 'form-group',
                ));
                ?>

            </div>
            <div class="col-lg-12">
                <?php
                echo $this->Form->submit('Save', array(
                    'div' => 'form-group',
                    'class' => 'btn btn-danger'
                ));
                ?>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
        <?php echo $this->Form->end(); ?>
    </div>
</div>
<!-- /#page-wrapper -->
